package com.qige.homework.kind;

public class Designer extends Programmer {
    public int bonus;

    public Designer() {
    }

    public Designer(String id, String name, int age, int salary, String language, int bonus) {
        super(id, name, age, salary, language);
        this.bonus = bonus;
    }

    public int getBonus() {
        return bonus;
    }

    public void setBonus(int bonus) {
        this.bonus = bonus;
    }

    public void getInfo() {
        System.out.println("编号:" + id + "姓名:" + name + "年龄:" + age + "薪资:" + salary + "编程语言:" + language + "奖金:" + bonus);
    }
}
